//
//  XYJMainTabBar.h
//  徙游记-01
//
//  Created by hcios on 2017/6/22.
//  Copyright © 2017年 鹿林. All rights reserved.
//

#import <UIKit/UIKit.h>

@class XYJMainTabBar;

@protocol XYJMainTabBarDelegate <NSObject>

- (void)tabBar:(XYJMainTabBar *)tabBar didSelectedButtonFrom:(long)fromBtnTag to:(long)toBtnTag;
- (void)tabBarClickWriteButton:(XYJMainTabBar *)tabBar;

@end

@interface XYJMainTabBar : UIView

- (void)addTabBarButtonWithTabBarItem:(UITabBarItem *)tabBarItem;
@property (nonatomic, weak)id <XYJMainTabBarDelegate>delegate;

@end
